package cn.edu.zknu.mita.service;

import cn.edu.zknu.mita.model.FindMsg;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by iwlnner on 2020/3/26.
 */
public interface IFindMsgService {

    Long release(FindMsg findMsg);

    FindMsg getDetail(Long id);

    List<FindMsg> listIndexFindGoodsMsg();

    List<FindMsg> listIndexFindLostorMsg();

    PageInfo<FindMsg> listFindMsg(Integer pageNum, Integer pageSize, Integer type);

    List<FindMsg> listMyRelease(Long id);

    Integer deleteFindMsg(Long id);

    PageInfo<FindMsg> searchMsg(Integer pageNum, Integer pageSize, String keyword);
}
